/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "底层绘图/底层绘图框架.h"


S_材质管线* f_material_createPBR(); //S_设备环境& ctx
void f_material_releasePBR(S_材质管线* mat);



void f_material_创建预设材质(S_设备环境& ctx);
void f_material_销毁预设材质();

void f_material_创建材质属性(S_材质管线* mat);
S_Material* f_material_get材质属性(S_材质管线* mat);


S_材质管线* f_material_创建基本光照点(S_设备环境& ctx);
S_材质管线* f_material_创建天空材质(S_设备环境& ctx);
S_材质管线* f_material_创建PBR材质(S_设备环境& ctx);

S_材质管线* f_material_创建PBR线段(S_设备环境& ctx);


void f_material_创建纹理槽(S_材质管线* mat, S_纹理集* 纹理集 = nullptr, uint32 纹理集数量 = 0, uint32 绑定位置 = 10);





















